'''
用户管理模块的接口
'''

def register(url,baserequests,data):
    '''
    注册接口
    :param url:  env.ini 中读取的环境信息
    :param baserequests:  BaseRequest的实例
    :param data:  注册的数据
    :return:
    '''
    url = url +"/futureloan/mvc/api/member/register"
    r = baserequests.post(url,data=data)
    return r

def login(url,baserequests,data):
    url = url + "/futureloan/mvc/api/member/login"
    r = baserequests.post(url,data=data)
    return r


def list(url,baserequests):
    url = url + "/futureloan/mvc/api/member/list"
    r = baserequests.post(url)
    return r

def recharge():
    pass